/**
 * Welcome to https://waylau.com
 */
package com.hong.spring.h2.service;

import com.hong.spring.h2.dao.UserDao;
import com.hong.spring.h2.vo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 * 功能描述:用户服务接口实现
 *
 * @param:
 * @return:
 * @auther: csh
 * @date: 2020/10/16 16:34
 */
@Service
public class UserServiceImpl implements UserService {

	private UserDao userdao;
	
    @Autowired
    public void setUserDao(UserDao userdao) {
        this.userdao = userdao;
    }

	@Override
    public List<User> listUser() {
		return userdao.listUser();
	}

}
